<?php
/**
 * iZAP izap_videos
 *
 * @package Elgg videotizer, by iZAP Web Solutions.
 * @license GNU Public License version 3
 * @Contact iZAP Team "<support@izap.in>"
 * @Founder Tarun Jangra "<tarun@izap.in>"
 * @link http://www.izap.in/
 * @version 3.8b
 */

// get global
global $CONFIG;
global $IZAPSETTINGS;

$IZAPSETTINGS = new stdClass();

$IZAPSETTINGS->filesPath = $CONFIG->wwwroot . 'pg/izap_videos_files/';
$IZAPSETTINGS->playerPath = $CONFIG->wwwroot . 'mod/izap_videos/player/izap_player.swf';
$IZAPSETTINGS->apiUrl = 'http://sandbox.izap.in/izap_videos/getFeed.php';
$IZAPSETTINGS->allowedExtensions = array('avi', 'flv', '3gp', 'mp4', 'wmv', 'mpg', 'mpeg');
$IZAPSETTINGS->ffmpegPath = $CONFIG->pluginspath . 'izap_videos/ffmpeg/bin/ffmpeg.exe';
$IZAPSETTINGS->ffmpegPresetPath = $CONFIG->pluginspath . 'izap_videos/ffmpeg/presets/libx264-hq.ffpreset';
$IZAPSETTINGS->graphics = $CONFIG->wwwroot . 'mod/izap_videos/_graphics/';
$IZAPSETTINGS->ajaxed_video_height = 200;
$IZAPSETTINGS->ajaxed_video_width = 250;